-
Notifications
You must be signed in to change notification settings - Fork 404
fix(ui): add spacing betwen the key details in the header #5037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ui): add spacing betwen the key details in the header #5037
Conversation
Code Coverage - Frontend unit tests
Test suite run success5162 tests passing in 677 suites. Report generated by 🧪jest coverage report action from d55f733 |
/> | ||
|
||
<EuiFlexItem className={styles.actions}> | ||
<Spacer size="m" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, there is a related ticket so it should be closed after this. I will link it to your issue. Tnx!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
b3ce95b
to
16e35f7
Compare
<Text | ||
size="s" | ||
className={cx(styles.subtitleText, { | ||
className={cx(styles.subtitleText, styles.subtitleTextTTL, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since subtitleText is adding some paddings and you are removing it in subtitleTextTTL, does it make sense to remove the subtitleText class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing it out. I thought we needed it because it comes with additional styling, but I just checked it and it works fine even without it. So, now it's removed, thanks!
re #RI-7602
Description
Added spacing between the key details in the header.
How it was tested
Observe the header with the details about the key (size, ttl, etc.)
Side Quest
Additionally, there was a very odd behavior when you hover over the TTL field and trigger the inline editor. Now, I made some very ugly CSS fixes to make it look like the way before the EUI replacement.
Note: There is a very weird
letter-spacing: -0.12px;
and-webkit-font-smoothing: antialiased;
applied across the codebase that causes some odd rendering of the font. I didn't touch that, because it looks like a general issue, but we should think about it. Maybe it was a fix related to an old font, but now it makes the current one look blurred.Old
Screen.Recording.2025-10-06.at.16.31.51.mov
Before
Screen.Recording.2025-10-06.at.16.32.23.mov
After
Screen.Recording.2025-10-06.at.16.33.07.mov